/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package ar.fi.uba.taller2.participacion.services.dummyImpl;

import ar.fi.uba.taller2.participacion.interfaces.ICartelera;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebService;

/**
 *
 * @author pable
 */
@WebService
public class CarteleraImpl implements ICartelera {

    @WebMethod
    public boolean puedeBusquedaNoticiasPorPalabras(@WebParam(name = "usuarioId")long usuarioId, @WebParam(name = "ambitoId")long ambitoId) {
        return true;
    }

    @WebMethod
    public boolean puedeBusquedaNoticiasPorAutor(@WebParam(name = "usuarioId")long usuarioId, @WebParam(name = "ambitoId")long ambitoId) {
        return true;
    }

    @WebMethod
    public boolean puedePublicarNoticia(@WebParam(name = "usuarioId")long usuarioId, @WebParam(name = "ambitoId")long ambitoId, @WebParam(name = "carteleraId")long carteleraId) {
        return true;
    }

    @WebMethod
    public boolean puedeEditarNoticia(@WebParam(name = "usuarioId")long usuarioId, @WebParam(name = "ambitoId")long ambitoId, @WebParam(name = "noticiaId")long noticiaId) {
        return true;
    }

    @WebMethod
    public boolean puedeEliminarNoticia(@WebParam(name = "usuarioId")long usuarioId, @WebParam(name = "ambitoId")long ambitoId, @WebParam(name = "carteleraId")long carteleraId, @WebParam(name = "noticiaId")long noticiaId) {
        return true;
    }

    @WebMethod
    public boolean puedeMostrarCartelera(@WebParam(name = "usuarioId")long usuarioId, @WebParam(name = "ambitoId")long ambitoId) {
        return true;
    }

    @WebMethod
    public boolean puedeMostrarNoticia(@WebParam(name = "usuarioId")long usuarioId, @WebParam(name = "ambitoId")long ambitoId, @WebParam(name = "carteleraId")long carteleraId, @WebParam(name = "noticiaId")long noticiaId) {
        return true;
    }

}
